package com.jic.manager.mapper;

import com.jic.manager.entity.SysRoleLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * @author : 
 * @email : 
 * @since : 2020-02-28 06:28:07
 * @version : v1.0.0
 */
@Mapper
public interface  SysRoleLogMapper {

    long insert(SysRoleLog sysRoleLog);

    long delete(Long id);

    long update(SysRoleLog sysRoleLog);

    SysRoleLog queryByPrimaryKey(Long id);

    List<SysRoleLog> query(SysRoleLog sysRoleLog);

    List<SysRoleLog> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("sysRoleLog") SysRoleLog sysRoleLog);

    long queryPageCount(SysRoleLog sysRoleLog);
}